import http from './httpInstance'


// 场景视频轮询
function getSenceList(params) {
    return http({
        method: 'post',
        url: '/integrated-workbench/v1/scene/videopolling',
        data: params
    })
}

// 判断登录
function getIsLogin(params) {
    return http({
        method: 'post',
        url: '/integrated-workbench/v1/casdoor/auth/toLogin',
        data: params
    })
}

// 获取token
function getToken(params) {
    return http({
        method: 'get',
        url: '/integrated-workbench/v1/casdoor/auth/callback',
        params
    })
}

export {
    getIsLogin,
    getSenceList,
    getToken
}